﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Text;
using DAL;

namespace BLL
{
   public class EmpItemChangeBiz
    {
       EmpItemChangeDao empChangeDao = new EmpItemChangeDao();
        public bool Insert(string tableName, SortedDictionary<string, string> sdList)
        {
            return empChangeDao.Insert(tableName, sdList);
        }


        public bool Update(string tableName, SortedDictionary<string, string> sdList)
        {
            return empChangeDao.Update(tableName, sdList);
        }


        public bool DeleteOneInfo(string changeID)
        {
            return empChangeDao.DeleteOneInfo(changeID);
        }
        //获取一条记录
        public DataTable GetOneInfo(string changeID)
        {
            return empChangeDao.GetOneInfo(changeID);
        }

        public string GetSQL(string serWord, string bTime, string eTime, string changeTypeName, string deptName)
        {
            return empChangeDao.GetSQL(serWord, bTime, eTime, changeTypeName, deptName);
        }
        public DataTable GetLists(string serWord, string bTime, string eTime, string changeTypeName, string deptName)
        {
            return empChangeDao.GetLists(serWord, bTime, eTime, changeTypeName, deptName);
        }

        public DataTable GetEmpList(string wageItem, string strMonth, string actionType)
        {
            return empChangeDao.GetEmpList(wageItem, strMonth, actionType);
        }
    }
}
